#include <stdio.h>
int main()
{	 	 		 		 	   
    int a[10], i, t;
    printf("input 10 numbers:");
    for (i = 0; i < 10; i++)             //1
        scanf("%d", &a[i]);              //1
    for (i = 0; i < 5; i++)              //1
    {	 	 		 		 	   
        t = a[i];                        //1
        a[i] = a[9 - i];                 //1
        a[9 - i] = t;                    //1
    }
    for (i = 0; i < 10; i++)             //1
        printf("%5d", a[i]);             //1
    return 0;
}